/**
 * 2015-12-16
 * UserServiceImpl.java
 * author:sherlochao
 */
package com.sherlochao.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sherlochao.dao.UserDao;
import com.sherlochao.model.User;
import com.sherlochao.service.UserService;

/**
 * @author yinchao
 *
 */

@Transactional
@Service("userService")
public class UserServiceImpl implements UserService{
	
	@Resource
	private UserDao userDao;
	
	@Override
	public boolean isExist(User user){
		return userDao.isExist(user);
	}

}
